@import "./_default.scss";
.public-content {
    width: 1200px;
    margin: 0 auto;
}

.public-banner {
    width: 100%;
    img {
        width: 100%; // height: 480px;
    }
}

.home-wrap {
    min-height: 500px;
    .case-wrap {
        position: relative;
        .case-top {
            text-align: center;
            h2 {
                display: inline-block;
                font-size: $size30;
                padding: 20px 10px;
                position: relative;
                border-bottom: 1px solid #ededed;
                &::after {
                    position: absolute;
                    content: "";
                    height: 4px;
                    width: 50%;
                    left: 50%;
                    bottom: -2px;
                    transform: translateX(-50%);
                    background: #ededed;
                }
            }
            p {
                padding: 10px 0;
                color: #999999;
                font-size: $size18;
                font-weight: 400;
            }
        }
        .case-bottom-list {
            margin-top: 20px;
            display: flex;
            justify-content: space-between;
            .case-bottom-item {
                width: 270px;
                height: 320px;
                background: #fafafa;
                display: flex;
                flex-direction: column;
                justify-content: center;
                img {
                    width: 40%;
                    margin: 0 auto;
                }
                .line {
                    margin: 0px auto;
                    height: 10px;
                    width: 85%;
                    border-bottom: 1px solid #ededed;
                }
                h3 {
                    padding: 10px 0;
                    font-size: $size18;
                    color: $greenColor;
                    font-weight: 600;
                }
                p {
                    font-size: $size12;
                    color: #444;
                }
            }
        }
        .design-list {
            margin-top: 20px;
            width: 100%;
            position: relative;
            text-align: left;
            .design-item {
                display: inline-block;
                margin-bottom: 20px;
                position: relative;
                &.col-3 {
                    width: 32%;
                    &:not(:nth-of-type(3n)) {
                        margin-right: 1%;
                    }
                }
                &.col-4 {
                    width: 23%;
                    &:not(:nth-of-type(4n)) {
                        margin-right: 1%;
                    }
                }
                img {
                    width: 100%;
                }
                &-mask {
                    position: absolute;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    top: 0;
                    transition: background 0.5s ease;
                    background: rgba(0, 0, 0, 0);
                    &:hover {
                        background: rgba(0, 0, 0, .35);
                    }
                }
            }
        }
        .loader-more {
            margin: 20px 0;
            text-align: center;
            &-btn {
                height: 50px;
                width: 200px;
                margin: 0 auto;
                background: white;
                line-height: 50px;
                display: block;
                border: 1px solid $greenColor;
                color: $greenColor;
                border-radius: 4px;
            }
        }
        .func-set {
            position: relative;
            &-left-list {
                width: 400px;
                position: absolute;
                left: 0;
                top: 0;
                bottom: 0;
            }
            .func-set-item {
                width: 140px;
                float: left;
                height: 180px;
                border: 1px solid #fff;
                margin-bottom: 10px;
                margin-right: 10px;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                color: white;
                font-weight: 800;
                img {
                    margin-bottom: 10px;
                }
                p {
                    padding: 5px 0;
                }
            }
            &-right-list {
                width: 400px;
                position: absolute;
                right: 0;
                top: 0;
                bottom: 0;
            }
        }
    }
    .home-about-us {
        margin-bottom: 40px;
        position: relative;
        .about-left,
        .about-rgiht {
            width: 600px;
            float: left;
            height: 340px;
        }
        .about-left {
            display: flex;
            flex-direction: column;
            .left-title {
                text-align: left;
                padding: 10px 0 15px;
                margin-bottom: 10px;
                font-size: 20px;
                position: relative;
                &::after {
                    content: "";
                    position: absolute;
                    width: 140px;
                    left: 0;
                    bottom: 0;
                    height: 1px;
                    background: #39abff;
                }
                &::before {
                    content: "";
                    position: absolute;
                    width: 40px;
                    left: 0;
                    bottom: 0;
                    height: 4px;
                    background: #39abff;
                }
            }
            .article-cont {
                flex: 1;
                position: relative;
                p {
                    color: #888;
                    font-size: 14px;
                    line-height: 20px;
                    text-align: left;
                    text-indent: 2em;
                }
            }
            .loader-more {
                position: relative;
                margin-top: 10px;
                &-btn {
                    height: 40px;
                    width: 150px;
                    background: white;
                    line-height: 40px;
                    display: block;
                    border: 1px solid $greenColor;
                    color: $greenColor;
                    border-radius: 4px;
                }
            }
        }
        .about-rgiht {
            position: relative;
            .about-flex {
                color: white;
                h3 {
                    font-size: 25px;
                    padding: 15px 0;
                }
                span{
                    font-size: 18px;
                }
                height: 150px;
                display: flex;
                width: 280px;
                background: #36B0F3;
                text-align: center;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                float: left;
                margin: 20px 0 0px 20px;
            }
        }
    }
}